<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/jsps/common/taglibs.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>建设银行开放基金管理平台</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">


<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/application.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/list.css"/>">

<script type="text/javascript">
	function logout(){
		if(confirm("尊敬的${loginedOper.operName},您真的要离开系统吗？")){
			location.href ='<c:url value = "/securityMgr"/>?act=logout';
		}
	}
	
</script>

<style type="text/css">
	body {
			background:url(pics/main.jpg) no-repeat center top;
			-webkit-background-size: cover;
			-moz-background-size: cover;
			background-size: cover;
		}
</style>
</head>

<body>
	<div id="header">
		<div id="productName">建设银行开放基金管理平台</div>
		<div style="float:right; margin:10px; font-size:14px;">
                                  操作员:${loginedOper.operName}&nbsp;
             <span class="linkspan"  style="font-size:14px;" onclick="logout();" title="点击离开系统">离开系统</span>
        </div>
	</div>
	<div id="navigator" style="background: url(pics/bg.jpg) no-repeat center top;">
		<div class="menuitem">基金管理</div>
		<div class="menuitembody">
			<a href='<c:url value="/fundMgr?act=input"/>' target="contentFrame">添加基金产品</a>
		</div>
		
		<div class="menuitembody">
			<a href='<c:url value="/fundMgr?act=loadPagedFunds"/>' target="contentFrame">查询基金产品</a>
		</div>
		<div class="seperator"></div>
		
	
		<div class="menuitem">客户资料管理</div>
		
		<div class="menuitembody">
			<a href='<c:url value="/clientMgr?act=input"/>' target="contentFrame">添加新客户</a>
		</div>
		<div class="menuitembody">
			<a href='<c:url value="/clientMgr?act=loadPagedClients"/>' target="contentFrame">查询客户信息</a>
		</div>
		<div class="seperator"></div>


		<div class="menuitem">客户资金账户管理</div>
		<div class="menuitembody">
			<a href='<c:url value="/accountMgr?act=forQuery"/>' target="contentFrame">查询账户资金</a>
		</div>
		<div class="menuitembody">
			<a href='<c:url value="/accountMgr?act=loadPagedAccountTransinfo"/>' target="contentFrame">资金进出记录查询</a>
		</div>
		
		<div class="seperator"></div>

		<div class="menuitem">基金交易管理</div>
		
		<div class="menuitembody">
			<a href='<c:url value="/fundMgr?act=show"/>' target="contentFrame">购买基金</a>
		</div>

		<div class="menuitembody">
			<a href='<c:url value="/fundMgr?act=forLoginToSell"/>' target="contentFrame">赎回基金</a>
		</div>

		<div class="menuitembody">
			<a href='<c:url value="/fundMgr?act=queryFundTransinfo"/>' target="contentFrame">交易记录查询</a>
		</div>
		<div class="menuitembody">
			<a href='<c:url value="/fundMgr?act=queryFundHolidng"/>' target="contentFrame">持仓情况查询</a>
		</div>
	</div>
	<div id="content"">
		<iframe id="contentFrame" width="100%" scrolling="no" height="480px"
			frameborder="0" name="contentFrame" allowtransparecy="true"
			src="<c:url value="/welcome.jsp"/>">
		</iframe>
		
	</div>
	<jsp:include page="/jsps/common/footer.jsp"></jsp:include>

</body>
</html>
